package com.txt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "upload.cos")
public class CosProperties {
    private String secretId;
    private String secretKey;
    private String bucketName;
    private String region;
    private String url;
    private String defaultPath;
}